package com.sky.service;

import com.sky.entity.AddressBook;
import com.sky.result.Result;

import java.util.List;

public interface AddressBookService {

List<AddressBook> list();

void save(AddressBook addressBook);

AddressBook defaults();
void  update(AddressBook addressBook);

AddressBook getById(Long id);
void delete(Long id);

void setDefault(Long id);



}
